#include <iostream>
#include <stdio.h>
#include <stdlib.h>

using namespace std;
int main(int argc, char**argv){
  char name[128];
  char str[6];
  sprintf(str,"%5d", 10000+1);
  sprintf(name, "output.");
  strcat(name,&str[1]);
  cout << str << endl;
  cout << name << endl;
  return 1;
}

